-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
initial refactoring to match SMaHT portal changes #1
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small comments, will approve once we iron these things out
pipeline_utils/lib/yaml_parser.py
Outdated
frmt_json[self.DESCRIPTION_SCHEMA] = self.description | ||
frmt_json[self.STANDARD_FILE_EXTENSION_SCHEMA] = self.extension | ||
frmt_json[self.VALID_ITEM_TYPES_SCHEMA] = getattr(self, self.FILE_TYPES_SCHEMA, ['FileReference', 'FileProcessed']) | ||
frmt_json[self.EXTRAFILE_FORMATS_SCHEMA] = getattr(self, self.SECONDARY_FORMATS_SCHEMA, []) | ||
# frmt_json[self.VALID_ITEM_TYPES_SCHEMA] = getattr(self, self.FILE_TYPES_SCHEMA, ['FileReference', 'FileProcessed']) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should still be needed no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doug wants to try and remove this, I did comment it out for now
schema.PATTERN: 'FileReference|FileProcessed|FileSubmitted|FileFastq' | ||
} | ||
}, | ||
# 'file_types': { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this removed? I still see it in the schema on Doug's branch?
@@ -12,11 +12,15 @@ secondary_files: | |||
status: uploading | |||
uuid: 1936f246-22e1-45dc-bb5c-9cfd55537fe7 | |||
accession: GAPFIXRDPDK5 | |||
category: Sequencing Reads |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might want to make this an enum portal side so we can control these values, could get messy with time especially if we have these coming from external submitters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that is the plan and is already an enum
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if not we definitely should
In this PR we are adding the necessary changes to accommodate the updated schemas and QC infrastructure for the SMaHT portal